<template>
  <div>
    <router-view></router-view>
    <van-tabbar route active-color="#07C160" inactive-color="#666">
      <van-tabbar-item to="/home/dish" icon="hot">菜品</van-tabbar-item>
      <van-tabbar-item to="/home/login" icon="point-gift">登录</van-tabbar-item>
      <van-tabbar-item to="/home/register" icon="shop">注册</van-tabbar-item>
      <van-tabbar-item to="/home/my" icon="manager">我的</van-tabbar-item>
    </van-tabbar>
  </div>
</template>

<script setup lang="ts">
import { ref } from "vue";
import { useRoute } from "vue-router";
const route = useRoute();
const active = ref(0);
</script>

<style scoped>
</style>
